package com.jmp.push;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Map;

@Data
@ConfigurationProperties(prefix = "one.push")
public class OnePushProperties {

    /**
     * 有序Map，Index越大，优先级越高
     */
    private Map<String, OnePush> clientMap;

    @Data
    public static class OnePush {
        private String appId;
        private String appKey;
        private String masterSecret;
        private String packageStr;
        private String companyKey;
    }
}
